 <?php if ($this->_var['user_info']): ?>
 <div class="member">
  <?php echo $this->_var['lang']['hello']; ?>，<?php echo $this->_var['user_info']['username']; ?>, <?php echo $this->_var['lang']['welcome_return']; ?>！
  <a href="user.php?act=order_list">我的订单</a>
  | <a href="user.php"><?php echo $this->_var['lang']['edit_user_info']; ?></a> | <a href="user.php?act=logout"><?php echo $this->_var['lang']['user_logout']; ?></a>
  </div>
  <?php else: ?>
 <div class="member">
<?php echo $this->smarty_insert_scripts(array('files'=>'transport.js')); ?>
  <a href="user.php?act=login">登录</a>
  | <a href="user.php?act=register">注册</a>
  | <a href="user.php?act=order_list">我的订单</a>
  | <a href="user.php"><?php echo $this->_var['lang']['edit_user_info']; ?></a>
</div>
<?php endif; ?>